<?php
class Authors{
	private $a_name;
	// ? private $userID;
	
	//constructor
	function __construct($a_name){
		$this->a_name=$a_name;
	}
	
	//others functions
	
	//getter
	public function __get($field){
		if (property_exists($this, $field)){
			return $this->$field;
		}
		else return NULL;
	}
}
?>